
//
//  MathUtilities.m
//  Legions
//
//  Created by Anders Petersen on 14/05/14.
//  Copyright (c) 2014 Anders Petersen. All rights reserved.
//

#import "MathUtilities.h"

@implementation MathUtilities

+ (CGFloat) angleBetween: (CGPoint) p1 and: (CGPoint) p2{
    
    return atan2f(p1.x - p2.x, p1.y - p2.y);

    
}

@end
